import wx
import LoginMainFrame

class LoginFrame(LoginMainFrame.MyFrame1):
    def __init__(self, parent):
        LoginMainFrame.MyFrame1.__init__(self, parent)

app = wx.App(False)  # Create a new app, don't redirect stdout/stderr to a window.
frame = LoginFrame(None)  # A Frame is a top-level window.
frame.Show(True)  # Show the frame.
app.MainLoop()